//1.引入express
const express = require('express');
var router = express.Router();
//2.往router中添加路由
router.get('/',(req,res)=>{
  res.redirect('/member/receive');
});
router.get('/receive',(req,res)=>{
  /*
  res.json();
  res.redirect();
  res.sendFile();
  res.send();
  */
  res.send('this is receive page');
});
router.get('/order',(req,res)=>{
  res.send('this is order page');
});
router.get('/pay',(req,res)=>{
  res.send('this is pay page');
});

//3.导出路由器模块
module.exports = router;









